const KEY='token'
export const setToken=(value)=>{
   return  wx.setStorageSync(KEY, value)
}
export const getToken=()=>{
    return wx.getStorageSync(KEY)
}
export const removeToken=()=>{
    return wx.removeStorageSync(KEY)
}
const KEY1='refresh_token'
export const setRefreshToken=(value)=>{
   return  wx.setStorageSync(KEY1, value)
}
export const getRefreshToken=()=>{
    return wx.getStorageSync(KEY1)
}
export const removeRefreshToken=()=>{
    return wx.removeStorageSync(KEY1)
}